/*
 *    Copyright (c) 2018-2025, lengleng All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: lengleng (wangiegie@gmail.com)
 */

package com.pig4cloud.pigx.demo.generator.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 作品表
 *
 * @author pig code generator
 * @date 2020-06-19 11:07:39
 */
@Data
@TableName("cmdb_works")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "作品表")
public class CmdbWorks extends Model<CmdbWorks> {
private static final long serialVersionUID = 1L;

    /**
     * 关键字
     */
    @TableId
    @ApiModelProperty(value="关键字")
    private String wid;
    /**
     * 电影名称
     */
    @ApiModelProperty(value="电影名称")
    private String name;
    /**
     * 作品类型，1：电影，2：电视剧，3：网剧，4：短片，5：数字电影
     */
    @ApiModelProperty(value="作品类型，1：电影，2：电视剧，3：网剧，4：短片，5：数字电影")
    private String attribute;
    /**
     * json格式，{key:key,url:url,width:width,height:height}
     */
    @ApiModelProperty(value="json格式，{key:key,url:url,width:width,height:height}")
    private String poster;
    /**
     * 时长，分钟
     */
    @ApiModelProperty(value="时长，分钟")
    private Integer duration;
    /**
     * 集数，默认是1集
     */
    @ApiModelProperty(value="集数，默认是1集")
    private Integer episodes;
    /**
     * 上映时间
     */
    @ApiModelProperty(value="上映时间")
    private String releasedate;
    /**
     * 发行年份
     */
    @ApiModelProperty(value="发行年份")
    private Integer releaseyear;
    /**
     * 发行日期个是，1：年，2：年月，3年月日
     */
    @ApiModelProperty(value="发行日期个是，1：年，2：年月，3年月日")
    private Integer datetype;
    /**
     * 上映国家
     */
    @ApiModelProperty(value="上映国家")
    private Integer releasearea;
    /**
     * 票房，多少亿元
     */
    @ApiModelProperty(value="票房，多少亿元")
    private Float boxoffice;
    /**
     * 
     */
    @ApiModelProperty(value="")
    private String areaname;
    /**
     * 作品状态，0：草稿，1:审核成功，已发布，2：待审核，3：审核失败
     */
    @ApiModelProperty(value="作品状态，0：草稿，1:审核成功，已发布，2：待审核，3：审核失败")
    private Integer status;
    /**
     * 是否发送：0未发送1已发送
     */
    @ApiModelProperty(value="是否发送：0未发送1已发送")
    private Integer issend;
    }
